package com.luchao.springcloudproviderdept.service;

import com.luchao.springcloudapi.pojo.Dept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeptService {

    boolean addDept(Dept dept);

    Dept getById(@Param("deptno") long id);

    List<Dept> getlist();

}
